﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ImageSelector.ascx.cs" Inherits="LCA.Admin.FormControls.ImageSelector" %>

<asp:Panel ID="pnlContainer" CssClass="image-selector" runat="server">
    <ui:nullpostbackdialog       handle="Composite.Management.ImageSelectorDialog"       providersearch="Composite.Plugins.Elements.ElementProviders.MediaFileProviderElementProvider.MediaFileSearchToken,Composite|MimeTypes=',\ \'image/gif\',\ \'image/jpeg\',\ \'image/png\',\ \'image/bmp\',\ \'image/svg\\\+xml\'', Extensions=null, Folder=null, HideSubfolders='False', Keyword=null"       label="<%= HttpUtility.HtmlEncode(this.SelectedImageLabel) %>"       value="<%= this.SelectedImageId %>"      id="<%= this.ClientID %>"       name="<%= this.ClientID %>"       callbackid="<%= this.ClientID %>" /></asp:Panel>

<script type="text/javascript">
//<![CDATA[
    $("#<%=Page.Form.ClientID%>").bind("submit", function () {
        $("input#<%= this.ClientID %>").val(bindingMap.<%= this.ClientID %>.getValue());
    });
//]]>
</script>
